package com.ahcloud.edas.gateway.core.domain.plugin.form;

import com.ahcloud.edas.gateway.core.infrastructure.annotation.EnumValid;
import com.ahcloud.edas.gateway.core.infrastructure.constant.enums.ApiTypeEnum;
import com.ahcloud.edas.uaa.starter.core.constant.enums.ReadOrWriteEnum;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @program: ahcloud-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2023/2/4 10:37
 **/
@Data
public class PluginAddForm {

    /**
     * plugin名称
     */
    @NotEmpty(message = "插件名称不能为空")
    private String name;

    /**
     * plugin配置
     */
    private String config;

    /**
     * 排序
     */
    private Integer sort;
}
